

export default {
    username: [
        { required: true, message: '用户名不能为空', trigger: 'blur' },
        { min: 3, message: '用户名长度不能小于3位', trigger: 'blur' }
    ],
    password: [
        { required: true, message: '密码不能为空', trigger: 'blur' },
        { min: 3, message: '密码长度不能小于3位', trigger: 'blur' }
    ],
    email:[
        { required: true, message: '邮箱不能为空', trigger: 'blur' },
        { type:"email", message: '请填写正确的邮箱', trigger: 'blur' }
    ],
    mobile:[
        { required: true, message: '电话不能为空', trigger: 'blur' },
        { len:11, message: '请填写正确的手机号码', trigger: 'blur' }
    ]
}